import Vue from 'vue'
import Vuex from 'vuex'
import moduleCart from '@/store/cart.js'
import moduleAddress from '@/store/user.js'
Vue.use(Vuex)
const store = new Vuex.Store({
  modules:{
    // 挂载购物车模块数据
    'm_cart':moduleCart,
    'm_user':moduleAddress
  }
})
export default store